package com.zzxy.spring5.service.impl;

import com.zzxy.untitled.service.service.impl.IStudentService;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements IStudentService {
    @Override
    public void addStudent() {
        System.out.println("add success");
    }

    @Override
    public void delStudent() {
        System.out.println("delete success");
    }

    @Override
    public void updateStudent() {
        System.out.println("update success");
    }
    public  int test(){
//        int i=1/0;
        System.out.println("test ..");
        return 1;
    }
}



